import java.util.HashMap;
import java.util.Map;

public class Customer {

    //购买商品重量
    private Map<String, Integer> fruitCountMap = new HashMap<>();

    public Customer buy(String name, Integer count) {
        fruitCountMap.put(name, count);
        return this;
    }

    public Map<String, Integer> getFruitCountMap() {
        return fruitCountMap;
    }
}
